package com.hightrast.service.api.entity;

import com.hightrast.service.api.baseEntity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author hx
 * @since 2025-01-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="RastMenu对象", description="菜单表")
public class RastMenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "父级菜单id, 当前是父级菜单就默认为0")
    private Long parentId;

    @ApiModelProperty(value = "路由路径，只有当为最后一层才有页面路径")
    private String router;

    @ApiModelProperty(value = "备注")
    private String remark;

}
